package my.edu.model.bills.purchase.entity.dto;

import lombok.Data;
import my.edu.common.validate.IntegerPattern;

import java.time.LocalDate;

@Data
public class PurchaseOrderSearchDTO {
    private String      orderNo;
    private LocalDate   beginTime;
    private LocalDate   endTime;
    private String      deliveryMethod;
    private String       paymentStatus;//付款状态
    private String       returnStatus;//退货状态
    @IntegerPattern(regexp = "0|1",message = "状态参数错误")
    private Integer isAudited;//是否审核
    private Long salesmanId;//业务员ID
    private Long purchaseReturnOrderId;//购货退货单ID
    private Long settlementAccountId;//结算账户ID
    private Long auditorId;//审核人ID
    private Long logisticsId;//物流ID
    private Long supplierId;//供应商
    private String materialParam;
}
